package com.alan.server.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.alan.server.entity.BaseModel;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 测试数据
 * </p>
 *
 * @author alan
 * @since 2017-11-03
 */
@Data
@Accessors(chain = true)
@TableName("demo_test")
public class DemoTest extends BaseModel<DemoTest> {

    private static final long serialVersionUID = 1L;

    /**
     * 用户姓名
     */
	@TableField("user_name")
	private String userName;
    /**
     * 用户密码
     */
	@TableField("user_password")
	private String userPassword;
	private String extrinfo;


	public static final String USER_NAME = "user_name";

	public static final String USER_PASSWORD = "user_password";

	public static final String EXTRINFO = "extrinfo";

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
